package com.qidian.buy.cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.pagehelper.PageInfo;
import com.qidian.buy.cms.entity.Content;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qidian.buy.util.pojo.QdResult;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 戴着假发的程序员
 * @since 2024-05-06
 */
public interface IContentService {
    QdResult<PageInfo<Content>> listByPageAndContent(int page, int limit, Content content);

    QdResult save(Content content);

    QdResult<IPage<Content>> queryByPage(Content content,int pageNumber,int limit);

    QdResult<List<Content>> listByCarMark(String catMark,int count);
}
